package com.example.controller;

import com.example.service.DeleteManyService;
import com.example.service.UserService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

@Controller
public class DeleteCtrl {

    @Resource
    private DeleteManyService deleteManyService;
    @RequestMapping("deleteMany")
    public String deleteMany(String[] uids){
        deleteManyService.deleteMany(uids);
        return "redirect:listDo";
    }
}
